const item = {}

const logColumns = [
    {
        prop: 'name',
        label: '业务名称',
        width: 100
    },
    {
        prop: 'counterName',
        label: '模块名称',
        width: 100
    },
    {
        prop: 'opTimes',
        label: '学习次数',
        width: 100
    },
    {
        prop: 'opStartTime',
        label: '操作时间',
        width: 200
    },
    {
        prop: 'timeCost',
        label: '操作时长(秒)',
        width: 100
    },
    {
        prop: 'grade',
        label: '成绩',
        width: 100
    }
]

const businessColumns = [
    {
        prop: 'id',
        label: '业务编号',
        width: 200
    },
    {
        prop: 'name',
        label: '名称',
        width: 250
    },
    {
        prop: 'comment',
        label: '描述',
        width: 350
    }
]

const examColumns = [
    {
        prop: 'id',
        label: '考试编号',
        width: 100
    },
    {
        prop: 'name',
        label: '考试名称',
        width: 150
    },
    {
        prop: 'examMinutes',
        label: '考试时长',
        width: 100
    },
    {
        prop: 'totalScore',
        label: '考卷总分',
        width: 80
    },
    {
        prop: 'startTime',
        label: '考试开始时间',
        width: 220
    },
    {
        label: '操作',
        width: 200,
        operations: [
            {
                prop: 'join',
                label: '进入考卷'
            }
        ]
    }
]

const finishColumns = [
    {
        prop: 'id',
        label: '考试编号',
        width: 100
    },
    {
        prop: 'name',
        label: '考试名称',
        width: 100
    },
    {
        prop: 'examMinutes',
        label: '考试时长',
        width: 100
    },
    {
        prop: 'startTime',
        label: '考试开始时间',
        width: 220
    },
    {
        prop: 'totalScore',
        label: '考卷总分',
        width: 80
    },
    {
        prop: 'sumScore',
        label: '考卷得分',
        width: 80
    },
    {
        label: '操作',
        width: 200,
        operations: [
            {
                prop: 'detail',
                label: '考试详情'
            }
        ]
    }
]

const examDetail = [
    {
        prop: 'name',
        label: '考试名称',
        width: 180
    },
    {
        prop: 'businessScore',
        label: '总分'
    },
    {
        prop: 'score',
        label: '得分'
    },
    {
        prop: 'timeCost',
        label: '操作时长(分钟)'
    },
    {
        prop: 'grade',
        label: '评级'
    },
    {
        label: '操作',
        width: 100,
        operations: [
            {
                prop: 'score',
                label: '得分明细'
            }
        ]
    }
]
const numberCatation = [
    {
        prop: 'name',
        label: '考试名称',
        width: 180
    },
    {
        prop: 'businessScore',
        label: '总分'
    },
    {
        prop: 'score',
        label: '得分'
    },
    {
        prop: 'timeCost',
        label: '操作时长(分钟)'
    },
    {
        prop: 'grade',
        label: '评级'
    },
    {
        label: '操作',
        width: 100,
        operations: [
            {
                prop: 'score',
                label: '得分明细'
            }
        ]
    }
]
const studyStatus = {
    taskCountOfAssigned: 0,
    taskCountOfFinished: 8,
    taskCountOfPassed: 0,
    businessCountOfAssigned: 0,
    businessCountOfTaked: 0,
    businessCountOfFinished: 9,
    businessCountOfPassed: 0,
    businessCountOfExcellent: 0,
    businessCountOfGood: 0,
    businessCountOfNormal: 0,
    taskFinishedRank: 1,
    businessPassedRank: 1,
    taskCountOfTaked: 0,
    trainee: {
        userId: 10041,
        username: 'xu.zhang',
        employeeId: 10041,
        bankId: 10000,
        employeeNumber: '10009',
        name: '张旭',
        sex: '男',
        telephone: '13298897902',
        email: '121212@qq.com',
        enabled: true,
        isAdministrator: false,
        jobTitle: '萨芬',
        organizationIds: [10016],
        organizationTitles: ['蝌蚪项目部']
    },
    taskRecords: [
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 8,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            firstBusinessStartTime: '2018-02-01',
            lastBusinessEndTime: '2018-04-01',
            task: {
                title: '柜面培训任务（一）'
            }
        },
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 7,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            firstBusinessStartTime: '2018-04-01',
            lastBusinessEndTime: '2018-05-01',
            task: {
                title: '柜面培训任务（二）'
            }
        },
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 8,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            firstBusinessStartTime: '2018-07-01',
            lastBusinessEndTime: '2018-08-01',
            task: {
                title: '柜面培训任务（三）'
            }
        },
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 8,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            firstBusinessStartTime: '2018-08-01',
            lastBusinessEndTime: '2018-09-01',
            task: {
                title: '柜面培训任务（四）'
            }
        },
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 8,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            firstBusinessStartTime: '2018-09-01',
            lastBusinessEndTime: '2018-10-01',
            task: {
                title: '柜面培训任务（五）'
            }
        }
    ]
}

const examStatus = {
    taskCountOfAssigned: 0,
    taskCountOfFinished: 8,
    taskCountOfPassed: 0,
    businessCountOfAssigned: 0,
    businessCountOfTaked: 0,
    businessCountOfFinished: 9,
    businessCountOfPassed: 0,
    businessCountOfExcellent: 0,
    businessCountOfGood: 0,
    businessCountOfNormal: 0,
    taskFinishedRank: 1,
    businessPassedRank: 1,
    taskCountOfTaked: 0,
    trainee: {
        userId: 10041,
        username: 'xu.zhang',
        employeeId: 10041,
        bankId: 10000,
        employeeNumber: '10009',
        name: '张旭',
        sex: '男',
        telephone: '13298897902',
        email: '121212@qq.com',
        enabled: true,
        isAdministrator: false,
        jobTitle: '萨芬',
        organizationIds: [10016],
        organizationTitles: ['蝌蚪项目部']
    },
    taskRecords: [
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 8,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            sumScore: 90,
            organizationRank: 1,
            firstBusinessStartTime: '2018-02-01',
            lastBusinessEndTime: '2018-04-01',
            task: {
                title: '风险意识测试（一）'
            }
        },
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 7,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            sumScore: 92,
            organizationRank: 3,
            firstBusinessStartTime: '2018-04-01',
            lastBusinessEndTime: '2018-05-01',
            task: {
                title: '风险意识测试（二）'
            }
        },
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 8,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            sumScore: 92,
            organizationRank: 5,
            firstBusinessStartTime: '2018-07-01',
            lastBusinessEndTime: '2018-08-01',
            task: {
                title: '风险意识测试（三）'
            }
        },
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 8,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            sumScore: 98,
            organizationRank: 1,
            firstBusinessStartTime: '2018-08-01',
            lastBusinessEndTime: '2018-09-01',
            task: {
                title: '风险意识测试（四）'
            }
        },
        {
            taskCountOfAssigned: 0,
            taskCountOfFinished: 8,
            taskCountOfPassed: 0,
            businessCountOfAssigned: 0,
            businessCountOfTaked: 0,
            businessCountOfFinished: 6,
            businessCountOfPassed: 0,
            businessCountOfExcellent: 0,
            businessCountOfGood: 0,
            businessCountOfNormal: 0,
            taskFinishedRank: 1,
            businessPassedRank: 1,
            taskCountOfTaked: 0,
            sumScore: 97,
            organizationRank: 2,
            firstBusinessStartTime: '2018-09-01',
            lastBusinessEndTime: '2018-10-01',
            task: {
                title: '风险意识测试（五）'
            }
        }
    ]
}

let studyLogItem = {
    business: {
        bankId: 0,
        businessImageUrl: 'string',
        classFullPathJson: 'string',
        classIds: [0],
        comment: 'string',
        content: 'string',
        counter: {
            bankId: 0,
            comment: 'string',
            content: 'string',
            dataFlag: 'string',
            enabled: false,
            id: 0,
            name: 'string',
            sequence: 0
        },
        cunterId: 0,
        dataFlag: 'string',
        enabled: false,
        id: 0,
        name: 'string',
        sequence: 0,
        serviceStatus: 'string',
        timeCostMinutesExcellent: 0,
        timeCostMinutesGood: 0,
        timeCostMinutesNormal: 0,
        timeCostSecondsExcellent: 0,
        timeCostSecondsGood: 0,
        timeCostSecondsNormal: 0
    },
    excellent: false,
    finished: false,
    good: false,
    lastRecord: {
        bankId: 0,
        businessTemplateId: 0,
        comment: 'string',
        dataFlag: 'string',
        employeeId: 0,
        enabled: false,
        grade: 'string',
        l1TaskId: 0,
        l2TaskId: 0,
        opEndTime: '2018-10-18T13:50:48.503Z',
        opStartTime: '2018-10-18T13:50:48.503Z',
        score: 0,
        sequence: 0
    },
    normal: false,
    opTimes: 0,
    passed: false,
    timeCost: 0
}
const numberExamColumns = [
    {
        prop: 'id',
        label: 'id'
    },
    {
        prop: 'startTime',
        label: '开始时间'
    },
    {
        prop: 'endTime',
        label: '结束时间'
    },
    {
        prop: 'totalInputSpeed',
        width: '200',
        label: '总速率（键/小时）'
    },
    {
        prop: 'validInputSpeed',
        width: '200',
        label: '有效速率（键/小时）'
    },
    {
        prop: 'errorRate',
        label: '错误率'
    }
]
export default {
    studyStatus,
    examStatus,
    businessColumns,
    numberExamColumns,
    examColumns,
    finishColumns,
    examDetail,
    studyLogItem,
    logColumns,
    item
}
